﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __FE8A735F_4CB3_466A_9F6A_0692CE479FE3__
#define __FE8A735F_4CB3_466A_9F6A_0692CE479FE3__

#include "../unknown/i_unknown.h"
#include "../macro/head.h"

/////////////////////////////////////////////////////////////////////////////////////////
// 
namespace xos
{
    // 
    // i_known interface
    // 
    class i_known : public i_unknown
    {
    public:
        virtual ~i_known(){}

    public:
        virtual int set_module_name( const char * lpszName ) = 0;
        virtual const char * get_module_name() = 0;

        virtual int set_module_id( const char * lpszId ) = 0;
        virtual const char * get_module_id() = 0;

        virtual int set_class_name( const char * lpszName ) = 0;
        virtual const char * get_class_name() = 0;

        virtual int set_class_id( const char * lpszId ) = 0;
        virtual const char * get_class_id() = 0;

        virtual int get_priority( int * pnPriority ) = 0;
        virtual int set_priority( int nPriority ) = 0;
    };
}

#endif // __FE8A735F_4CB3_466A_9F6A_0692CE479FE3__
